releaseName=
chartPath=
namespace=

helm-install:
	$(info installing '$(releaseName)' from '$(chartPath)' to namespace '$(namespace)')
	helm upgrade --install --debug $(releaseName) $(chartPath) --atomic --create-namespace -n $(namespace) -f $(chartPath)/values.yaml -f $(chartPath)/values-env.yaml ${ARGS}

v8s-install: releaseName=v8s
v8s-install: chartPath=./v8s
v8s-install: namespace=${V8S_NAMESPACE}
v8s-install: helm-install

install:
	$(MAKE) v8s-install
